<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $movie = array(
            "comedy" => array("Meet The Fockers", "Big Momas House", "Meet The Parents"),
            "sci-fi" => array("Star Trek .. The movie", "Some other Sci-Fi", "Another Sci Fi Movie"),
            "action" => array("Rambo 1","Rambo 2","Rambo 3")
        );
        
        // loop to print array 
      foreach( $movie as $genre){
          foreach($genre as $MoviesI){
            echo $movie.": ".$MoviesI."<br/>";
            
          }
          }


echo "<br/><br/>";
      echo"Times Tables:";

        //Opens the PHP tag.
        //Starts the table that will hold all of our results.
        // an array for the side
        //an array for the top
        $values = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20);
foreach ($values as $side) { // Creating each row
    echo '<tr>';
    foreach ($values as $top) { // Creating each column in each row
        $output = $side * $top; // multiple the top value times the side value
        echo "<td>$output</td>";
    }
    echo '</tr>';
}

echo"Character Array: ";                                                                // Ends the while loop and stops the calculations being done.
            $character = array("a", "b","c",1,2,3,4,5,6,7,8,"me");



?> 
    </body>
</html>
